package com.rain.lo.service;

import com.rain.lo.entity.User;

import java.util.List;

public interface UserService {
    List<User> list(long row, long num);

    Long count();

    User queryUserById(Integer id);

    User queryUserByName(String name);

    User queryUserByMobile(String mobile);

    void update(User user);

    void save(User user);

    void delete(Integer id);
}